home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
17 Bit Software 6: Level 6
/
17 Bit - Level 6 (1998)(Epic Marketing)[!].iso
/
quartz
/
q1082.dms
/
q1082.adf
/
src.lzh
/
Fig
/
alloc.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-07-18
|
843b
|
25 lines
/*
* FIG : Facility for Interactive Generation of figures
*
* Copyright (c) 1985 by Supoj Sutanthavibul (supoj@sally.UTEXAS.EDU)
* January 1985.
* 1st revision : Aug 1985.
*
* %W% %G%
*/
/*extern char *malloc();*/
/*extern char *calloc();*/
#define Line_malloc(z) z = (F_line*)malloc(LINOBJ_SIZE)
#define Spline_malloc(z) z = (F_spline*)malloc(SPLOBJ_SIZE)
#define Ellipse_malloc(z) z = (F_ellipse*)malloc(ELLOBJ_SIZE)
#define Arc_malloc(z) z = (F_arc*)malloc(ARCOBJ_SIZE)
#define Compound_malloc(z) z = (F_compound*)malloc(COMOBJ_SIZE)
#define Text_malloc(z) z = (F_text*)malloc(TEXOBJ_SIZE)
#define Point_malloc(z) z = (F_point*)malloc(POINT_SIZE)
#define Control_malloc(z) z = (F_control*)malloc(CONTROL_SIZE)
#define Arrow_malloc(z) z = (F_arrow*)malloc(ARROW_SIZE)
extern char Err_mem[];
extern char Err_incomp[];